<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/6/7
  Time: 10:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://"
          + request.getServerName() + ":" + request.getServerPort()
          + path + "/";
%>
<html>
<head>
  <base href="<%=basePath%>">
  <meta charset="UTF-8">
  <title>健康之家</title>
  <link rel="stylesheet" type="text/css" href="../../css/themes/default/easyui.css">
  <link rel="stylesheet" type="text/css" href="../../css/themes/icon.css">
  <link rel="stylesheet" type="text/css" href="../../css/demo.css">
  <style type="text/css">
    ${demo.css}
  </style>
</head>
<body class="easyui-layout">
<div data-options="region:'north'" style="height:100px"></div>
<div data-options="region:'south',split:true" style="height:50px;">
  kylin 版权所有
</div>
<div data-options="region:'west',split:true" title="导航菜单" style="width:300px;">
  <div class="easyui-accordion" data-options="fit:true,border:false">
    <div title="系统管理" data-options="selected:true"  style="padding:10px;">
      <ul class="easyui-tree">
        <li onclick="addTab('用户管理','userManager.do')">用户管理1</li>
        <li>部门管理</li>
        <li>菜单管理</li>
        <li>角色管理</li>
        <li>权限管理</li>
      </ul>
    </div>
    <div title="系统配置" style="padding:10px;">
      <ul class="easyui-tree">
        <li>
          <span>My Documents</span>
          <ul>
            <li data-options="state:'closed'">
              <span>Photos</span>
              <ul>
                <li>
                  <span>Friend</span>
                </li>
                <li>
                  <span>Wife</span>
                </li>
                <li>
                  <span>Company</span>
                </li>
              </ul>
            </li>
            <li>
              <span>Program Files</span>
              <ul>
                <li>Intel</li>
                <li>Java</li>
                <li>Microsoft Office</li>
                <li>Games</li>
              </ul>
            </li>
            <li>index.html</li>
            <li>about.html</li>
            <li>welcome.html</li>
          </ul>
        </li>
      </ul>
    </div>
  </div>
</div>
<div data-options="region:'center'">
  <div id="tabs" class="easyui-tabs" data-options="fit:true,border:false,plain:true">
    <div title="欢迎使用" data-options="href:'welcome.html',closable:true" ></div>
    <%--<div title="用户管理" data-options="closable:true" >--%>
      <%--<table id="dg" class="easyui-datagrid"--%>
             <%--data-options="fit:true,fitColumns:true,toolbar:'#tb',pagination:true">--%>
        <%--<thead>--%>
        <%--<tr>--%>
          <%--<th data-options="field:'ck',checkbox:true"></th>--%>
          <%--<th data-options="field:'nickname',width:80">昵称</th>--%>
          <%--<th data-options="field:'deptId',width:100">所属部门</th>--%>
          <%--<th data-options="field:'mobile',width:80,align:'right'">联系电话</th>--%>
          <%--<th data-options="field:'birthday',width:80,align:'right'">出生日期</th>--%>
          <%--<th data-options="field:'createTime',width:240">创建时间</th>--%>

        <%--</tr>--%>
        <%--</thead>--%>
      <%--</table>--%>
      <%--<div id="tb" class="toolbar" >--%>
        <%--<a onclick="addUser();" data-options="iconCls:'icon-add'" class="easyui-linkbutton l-btn"  id="addUser"><span class="l-btn-left">添加</span></a>--%>
        <%--<a onclick="delUser();" data-options="iconCls:'icon-remove'" class="easyui-linkbutton l-btn"  id="delUser"><span class="l-btn-left">删除</span></a>--%>
        <%--<a onclick="editUser();" data-options="iconCls:'icon-edit'" class="easyui-linkbutton l-btn"  id="editUser"><span class="l-btn-left">编辑</span></a>--%>
        <%--Date From: <input class="easyui-datebox" style="width:80px">--%>
        <%--To: <input class="easyui-datebox" style="width:80px">--%>
        <%--Language:--%>
        <%--<select class="easyui-combobox" panelHeight="auto" style="width:100px">--%>
          <%--<option value="java">Java</option>--%>
          <%--<option value="c">C</option>--%>
          <%--<option value="basic">Basic</option>--%>
          <%--<option value="perl">Perl</option>--%>
          <%--<option value="python">Python</option>--%>
        <%--</select>--%>
        <%--<a onclick="javascript:searchUser();" class="easyui-linkbutton" iconCls="icon-search">Search</a>--%>
      <%--</div>--%>
    <%--</div>--%>


   <%----%>

    <%--<div title="部门管理" data-options="closable:true" >--%>
      <%--<table id="tg" class="easyui-treegrid"--%>
             <%--data-options="--%>
				                <%--iconCls: 'icon-ok',--%>
				                <%--rownumbers: true,--%>
				                <%--animate: true,--%>
				                <%--collapsible: true,--%>
				                <%--fitColumns: true,--%>
				                <%--url: 'treegrid_data2.json',--%>
				                <%--method: 'get',--%>
				                <%--idField: 'id',--%>
				                <%--treeField: 'name',--%>
				                <%--showFooter: true,fit:true,fitColumns:true,toolbar:'#dept_tb'--%>
				            <%--">--%>
        <%--<thead>--%>
        <%--<tr>--%>
          <%--<th data-options="field:'name',width:180,editor:'text'">Task Name</th>--%>
          <%--<th data-options="field:'persons',width:60,align:'right',editor:'numberbox'">Persons</th>--%>
          <%--<th data-options="field:'begin',width:80,editor:'datebox'">Begin Date</th>--%>
          <%--<th data-options="field:'end',width:80,editor:'datebox'">End Date</th>--%>
          <%--<th data-options="field:'progress',width:120,formatter:formatProgress,editor:'numberbox'">Progress</th>--%>
        <%--</tr>--%>
        <%--</thead>--%>
      <%--</table>--%>
      <%--<div id="dept_tb" class="toolbar" >--%>
        <%--<a onclick="addDept()" data-options="iconCls:'icon-add'" class="easyui-linkbutton l-btn" href="#" id="addDept"><span class="l-btn-left">添加</span></a>--%>
        <%--<a onclick="delDept()" data-options="iconCls:'icon-remove'" class="easyui-linkbutton l-btn" href="#" id="delDept"><span class="l-btn-left">删除</span></a>--%>
        <%--<a onclick="editDept()" data-options="iconCls:'icon-edit'" class="easyui-linkbutton l-btn" href="#" id="editDept"><span class="l-btn-left">编辑</span></a>--%>
        <%--<a onclick="saveDept()" data-options="iconCls:'icon-save'" class="easyui-linkbutton l-btn" href="#" id="saveDept"><span class="l-btn-left">保存</span></a>--%>
        <%--<a onclick="cancelDept()" data-options="iconCls:'icon-redo'" class="easyui-linkbutton l-btn" href="#" id="redoDept"><span class="l-btn-left">取消</span></a>--%>
      <%--</div>--%>
    <%--</div>--%>
    <%--<div title="血压查看" data-options="closable:true" >--%>
      <%--<div id="container" style="min-width: 310px; height: 60%; width:60%;margin: 0 auto"></div>--%>
    <%--</div>--%>
  </div>

</div>
<div id="addUserDia" class="easyui-dialog" title="添加用户" data-options="iconCls:'icon-save'"
     style="width:400px;height:300px;padding:5px;display: none;" closed="true">
      <form id="addUserForm" class="easyui-form" method="post" data-options="novalidate:true" url="saveUser.do">
        <table cellpadding="5" cellspacing="0"  border="1" width="100%">
          <tr>
            <td>用户名:</td>
            <td><input class="easyui-textbox" type="text" name="username" data-options="required:true" /></td>
          </tr>
          <tr>
            <td>密码:</td>
            <td><input class="easyui-textbox" type="password" name="password" data-options="required:true" /></td>
          </tr>
          <tr>
            <td>部门:</td>
            <td><input class="easyui-textbox" type="text" name="deptId" data-options="required:true" /></td>
          </tr>
          <tr>
            <td>昵称:</td>
            <td><input class="easyui-textbox" type="text" name="nickname" data-options="required:true" /></td>
          </tr>
          <tr>
            <td>联系电话:</td>
            <td><input class="easyui-textbox" type="text" name="mobile" data-options="required:true" /></td>
          </tr>
          <tr>
            <td>出生日期:</td>
            <td><input class="easyui-datebox" type="text" name="birthday" data-options="required:true" /></td>
          </tr>
        </table>
      </form>
      <div style="text-align:center;padding:5px">
        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitAddForm()">提交</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="clearForm()">重置</a>
      </div>
</div>
<div id="editUserDia" class="easyui-dialog" title="编辑用户" data-options="iconCls:'icon-save'"
     style="width:400px;height:300px;padding:5px;display: none;" closed="true">
  <form id="editUserForm" class="easyui-form" method="post" data-options="novalidate:true">
    <table cellpadding="5" cellspacing="0"  border="1" width="100%">
      <tr>
        <td>用户名:</td>
        <td><input class="easyui-textbox" type="text" name="username" data-options="required:true" /></td>
      </tr>
      <tr>
        <td>密码:</td>
        <td><input class="easyui-textbox" type="password" name="password" data-options="required:true" /></td>
      </tr>
      <tr>
        <td>部门:</td>
        <td><input class="easyui-textbox" type="text" name="deptId" data-options="required:true" /></td>
      </tr>
      <tr>
        <td>昵称:</td>
        <td><input class="easyui-textbox" type="text" name="nickname" data-options="required:true" /></td>
      </tr>
      <tr>
        <td>联系电话:</td>
        <td><input class="easyui-textbox" type="text" name="mobile" data-options="required:true" /></td>
      </tr>
      <tr>
        <td>出生日期:</td>
        <td><input class="easyui-datebox" type="text" name="sBirthday" data-options="required:true" /></td>
      </tr>
    </table>
  </form>
  <div style="text-align:center;padding:5px">
    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitEditForm()">保存</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="cancelEdit()">取消</a>
  </div>
</div>
<script type="text/javascript" src="../../js/jquery.min.js"></script>
<script type="text/javascript" src="../../js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../../js/highcharts.js" ></script>
<script type="text/javascript" src="../../js/exporting.js" charset="utf-8"></script>
<script type="text/javascript" src="../../js/index.js" ></script>
</body>
</html>
